﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GetAddressList.aspx.cs" Inherits="CNVP.JShop.Web.Member.GetAddressList" %>
<%@ Register src="Footer.ascx" tagname="Footer" tagprefix="uc1" %>
<%@ Register src="Header.ascx" tagname="Header" tagprefix="uc1" %>
<%@ Register src="LeftNav.ascx" tagname="LeftNav" tagprefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head2" runat="server">
    <title>收货地址</title>
    <link href="css/Global.css" rel="stylesheet" type="text/css" media="all" />
<link href="css/Fonts.css" rel="stylesheet" type="text/css" media="all"  />
<link href="css/Style.css" rel="stylesheet" type="text/css" media="all" />
<link href="../CSS/MemberCenter.css" rel="stylesheet" type="text/css" media="all" />
    <script src="../Scripts/jquery.js" type="text/javascript"></script>
<script type="text/javascript" src="js/procp.js"></script>
    <script src="../Scripts/Common.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
<uc1:Header ID="Header1" runat="server" />
<div class="Width MBody clearfix">
<uc1:LeftNav ID="LeftNav1" runat="server" />

<div class="MRight">
                <div class="MRightTitle"><p>收货地址</p></div>
                <div class="MRightBox">
                            <div id="TopPage">
                <asp:Button ID="btAdd" runat="server" onclick="btAdd_Click" Text="添加" />
                <asp:Button ID="btDelete" runat="server" Text="删除" OnClick="btDelete_Click"/></div>
                        <asp:Repeater ID="rpList" runat="server" >
                            <HeaderTemplate>
                            <table width="98%" class="ListTable">
                               <tr>
                                    <th><input onclick="checkAllLine()" id="checkedAll" name="checkedAll" type="checkbox" title="全部选择/全部不选" /></th>
                                    <th>收货人</th>
                                    <th>地址</th>
                                    <th>邮编</th>
                                    <th>移动电话</th>
                                    <th>电话</th>
                                    <th>默认</th>
                                </tr>
                                <tbody>
                            </HeaderTemplate>
                            <ItemTemplate>
                            <tr>
                                <td><asp:CheckBox  id="cbCheck" runat="server" CssClass="CheckBox"  ToolTip='<%#Eval("oID")%>'></asp:CheckBox></td>
                                <td><a href="GetAddressEdit.aspx?Page=<%=PageIndex %>&ID=<%#Eval("oID")%>"><%#Eval("oTrueName")%></a>
                                </td>
                                <td><a href="GetAddressEdit.aspx?Page=<%=PageIndex %>&ID=<%#Eval("oID")%>"><%#Eval("oProvinceCityArea")%>
                                        <br />
                                        <%#Eval("oGetAddress")%></a></td>
                                <td><%#Eval("oZipCode")%></td>
                                <td><%#Eval("oMobilePhone")%></td>
                                <td><%#Eval("oPhone")%></td>
                                <td><%#Eval("oIsTolerant")%></td>
                            </tr>
                            </ItemTemplate>
                            <FooterTemplate>
                                             <asp:Literal ID="lblEmpty" Text="<tr><td colspan='7'>没有符合条件的条目!</td></tr>" runat="server" Visible='<%#bool.Parse((rpList.Items.Count==0).ToString())%>'></asp:Literal>
                                             </tbody>
                                </table>
                            </FooterTemplate>
                    </asp:Repeater>
                     <div id="paging" runat="server"></div>
                </div>

</div>
</div>
<script type="text/javascript">
    jQuery(document).ready(CheckUserLogin); 
</script>
    <uc1:Footer ID="Footer1" runat="server" />
    </form>
</body>
</html>
